package com.ease.dao.jdbctemplate.rowmapper;

import org.springframework.jdbc.core.SingleColumnRowMapper;

import com.ease.common.util.ReflectionUtil;

/**
 * 
 * @author nathanleewei
 * 
 */
@Deprecated
/* org.springframework.jdbc.core.simple.ParameterizedSingleColumnRowMapper */
public class AbstractSingleColumnRowMapper<T> extends SingleColumnRowMapper<T> {

	@SuppressWarnings("unchecked")
	public AbstractSingleColumnRowMapper() {
		Class<T> clazz = (Class<T>) ReflectionUtil.getGenericType(getClass());
		this.setRequiredType(clazz);
	}

}
